// 交易信息
.detail-infos-wrap {
  @extend .center-setting;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding-top: 40px;
  .body-content-wrap {
    display: flex;
    .tableCard{
      margin: 20px 0;
    }
    .left {
      display: flex;
      flex-direction: column;
      width: calc(100% - 220px);
      margin-right: 20px;
      min-height: 900px;
    }
    .spin-wrap {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    .card-wrap {
      flex: 1;
    }
    .spin-wrap {
      text-align: center;
      margin: 250px 0px;
      height: 690px;
    }
    .empty-wrap {
      margin: 250px 0px;
      height: 690px;
    }
   // 市场公告卡片
   .goods-card-wrap {
    display: flex;
    margin-top: 20px;
    border: 1px solid #e6e6e6;
    box-sizing: border-box;
    min-height: 160px;
    cursor: pointer;
    &:hover {
      box-shadow: 0px 2px 12px 0px rgba(1, 44, 88, 0.1);
    }
    .media-wrap {
      display: flex;
      align-items: center;
      width: 212px;
      border-right: 1px solid #e6e6e6;
      .audio-item {
        width: 100%;
      }
    }
    .content-wrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 27px 20px;
      padding-bottom: 15px;
      span {
        font-size: 14px;
        color: #666666;
        .w-f {
          color: #fff;
        }
      }
      .title-row {
        // margin-bottom: 21px !important;
        display: flex;
        align-items: center;
        .title-item-wrap {
          display: flex;
          justify-content: space-between;
          .title {
            width:250px;
            max-width:250px;
          }
          .right-wrap {
            flex: 1;
            text-align: right;
          }
        }
        .ant-col {
          display: flex;
          align-items: center;
          .block{
            width: 100px;
            text-align: center;
            padding: 5px 10px;
            overflow: hidden;
            border: 1px solid #ccc;
            border-radius: 5px;
            white-space:nowrap;//不换行
            overflow: hidden;//超出隐藏
            text-overflow: ellipsis;//变成...
          }
        }
        .collection-wrap {
          display: flex;
          justify-content: flex-end;
        }
      }
      .iconItem {
        margin-right: 10px;
        cursor: pointer;
        &:last-child {
          margin-right: 0px;
        }
        span {
          padding-left: 10px;
          font-size: 14px;
        }
      }
      .ant-row {
        margin-bottom: 10px;
        .price{
          color: #f83f41;
        }
      }
      .licenceType{
        padding-top:0px !important;
      }
      // .ant-row:last-child() {
      //   margin-bottom: 0px;
      //   padding-top: 25px;
      // }
      .title {
        font-size: 18px;
        color: #2e3438;
        margin-right: 20px;
      }
      .type {
        font-size: 14px;
        color: #2279d2;
      }
      .price-wrap {
        text-align: right;
        .price {
          font-size: 18px;
          font-weight: bolder;
          color: #f83f41;
        }
      }
    }
  }

    // 侧边栏
    .side-wrap {
      width: 252px;
      background: #f8f9fa;
      display: flex;
      flex-direction: column;
      padding: 20px;
      margin-top: 20px;
      .title-wrap {
        align-items: center;
        display: flex;
        font-size: 16px;
        color: #2279d2;
        font-weight: 400;
        padding-bottom: 10px;
        border-bottom: 1px solid #2279d2;
        .title {
          padding-left: 11px;
        }
      }
      .side-body-wrap {
        display: flex;
        cursor: pointer;
        flex-direction: column;
        justify-items: center;
        .media-wrap {
          width: 100%;
          margin-top: 18px;
          padding: 5px;
        }
      }
      .hotLabel{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top:20px;
        padding: 0 10px;
        div{
          position: relative;
          width: 90px;
          height: 40px;
          line-height: 40px;
          color: #000;
          border: 1px solid #ccc;
          border-radius: 5px;
          z-index:0;
          cursor: pointer;
          margin-bottom: 10px;
          &:hover{
            color: #2087FB;
          }
          span{
            display: inline-block;
            width: 100%;
            height: 100%;
            padding: 0 10px;
            text-align: center;
            white-space:nowrap;//不换行
            overflow: hidden;//超出隐藏
            text-overflow: ellipsis;//变成...
          }
        }
        .activeClass{
          color: #2087FB;
          border: 1px solid #2087FB;
        }
        .icon{
          position: absolute;
          right: -6px;
          top: -6px;
          z-index: 11;
          font-size: 18px;
          background: #fff;
        }
      }
    }
  }
}

// 交易公告
.announce-detail-wrap {
  @extend .center-setting;
  margin: 0 auto;
  flex: 1;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  .spin-wrap {
    flex: 1;
  }
  .empty-wrap {
    flex: 1;
  }
  .ant-row-wrap {
    flex: 1;
  }
  .announce-card-wrap {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
    .head-type {
      height: 30px;
      display: flex;
      justify-content: flex-end;
      .type-wrap {
        width: 70px;
        height: 30px;
        border-radius: 0px 5px 0px 30px;
        color: #fff;
        text-align: center;
        padding-left: 15px;
        font-size: 14px;
        line-height: 30px;
      }
    }
    .announce-body-wrap {
      padding: 30px;
      padding-top: 0;
      cursor: pointer;
      div {
        font-size: 14px;
        color: #2E3438;
        margin-top: 5px;
      }
      .title {
        font-size: 18px;
        color: #2e3438;
      }
      .price {
        font-size: 18px;
        font-weight: bold;
        color: #f83f41;
      }
      .price-wrap {
        margin-top: 25px;
      }
    }
  }
}


// 交易市场详情
.mark-detail-deal-wrap {
  @extend .center-setting;
  flex: 1;
  .title-card {
    margin-top: 40px;
  }
  .base-info-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    .base-info-item {
      width: 100%;
      display: flex;
      margin-top: 10px;
      font-size: 16px;
      color: #636363;
      .infos-title {
        display: inline-block;
        width: 140px;
      }
    }
    span {
      display: block;
      font-size: 16px;
      color: #636363;
      word-break:break-all;
    }
  }
  .law-table-wrap {
    margin-top: 10px;
  }
  .result-wrap {
    min-height: 287px;
    border: 1px solid #e6e6e6;
    padding: 20px;
    display: flex;
    box-sizing: border-box;
    .media-wrap {
      margin-right: 30px;
      width: 200px;
      line-height: 246px;
      border: 1px solid #e6e6e6;
    }
    .right-wrap {
      flex: 1;
      .line {
        display: block;
        border: 1px dashed #e6e6e6;
        height: 1px;
        margin: 20px 0;
      }
      .dealType {
        display: inline-block;
        padding: 2px 8px;
        color: #fff;
        text-align: center;
        margin-right: 10px;
        font-size: 13px;
        border-radius: 5px;
      }
      .head-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        .title {
          display: flex;
          align-items: center;
          // margin-bottom: 20px;
          span {
            color: #2e3438;
            font-size: 14px;
          }
          span:nth-child(1) {
            display: inline-block;
            max-width: 60%;
            margin-right: 18px;
            font-size: 18px;
            font-weight: bold;
            word-break:break-all;
          }
          .classicType {
            color: #2279d2;
          }
        }
        .favorite {
          // width: 50px;
          min-width: 70px;
          cursor: pointer;
          font-size: 14px;
          color: #666666;
          span {
            margin-left: 5px;
          }
        }
        .techTitle{
          font-size: 16px;
          font-weight: bold;
          word-break:break-all;
        }
      }
      .mark-card-body-wrap {
        display: flex;
        flex-wrap: wrap;
        div {
          width: 50%;
          color: #666666;
          font-size: 14px;
          margin-bottom: 14px;
        }
        .price {
          color: #f83f41;
          font-weight: bold;
        }
      }
      .toDetailBtn {
        @extend .dg-base-btn;
        &:hover {
          @extend .dg-base-btn;
        }
      }
    }
  }
  .headerTitle{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .title{
      width: 60%;
      // overflow: hidden;
      word-break:break-all;
      font-weight: bold;
      font-size: 18px;
    }
    .block{
      width: 100px;
      border: 1px solid #ccc;
      border-radius: 5px ;
      padding: 4px 10px;
      white-space:nowrap;//不换行
      overflow: hidden;//超出隐藏
      text-overflow: ellipsis;//变成...
      text-align: center;
    }
  }
  .side-body-wrap {
    display: flex;
    flex-direction: column;
    justify-items: center;
    div:nth-child(1) {
      margin-bottom: 20px;
      margin-top: 30px;
      margin-left: 0px;
    }
    div {
      font-size: 14px;
      margin-left: 25px;
      margin-bottom: 10px;
      color: #666666;
    }
    .user-head {
      text-align: center;
      img {
        width: 64px;
        height: 64px;
      }
    }
  }
  // 成果评估
  .assessment {
    display: flex;
    align-items: center;
    margin-top: 20px;
    .explainWrap {
      display: flex;
      align-items: center;
      span:nth-child(1) {
        font-size: 16px;
        color: #2E3438;
      }
    }
    .assessment-icon-help {
      color: #ccc;
      text-align: center;
      margin-left: 10px;
      cursor: pointer;
      svg {
        width: 25px;
        height: 25px;
      }
    }
  }
  .assessment table{
    width: 100%;
    font-size: 14px;
    color: #2E3438;
  }
  .assessment table tr th{
    background: #F8F9FA;
  }
  .assessment table tr th, .assessment table tr td{
    /*padding-left: 3px;*/
    padding: 3px 0 3px 5px;
  }
  .echartRadar{
    position: relative;
  }
}

// 需求市场
.request-mark-wrap {
  @extend .center-setting;
  flex: 1;
  margin-top: 40px;
  .request-content-wrap {
    // 加载动画样式
    .spin-wrap {
      text-align: center;
      margin: 250px 0px;
      height: 690px;
    }
    .empty-wrap {
      margin: 250px 0px;
      height: 690px;
    }
    margin-top: 20px;
    .mark-side-wrap {
      min-height: 427px;
    }
  }
  .card-wrap {
    min-height: 380px;
  }
  .request-card-wrap {
    padding: 25px;
    border: 1px solid #e6e6e6;
    cursor: pointer;
    margin-bottom: 20px;
    &:hover {
      box-shadow: 0px 2px 12px 0px rgba(1, 44, 88, 0.1);
    }
    .top-wrap {
      display: flex;
      justify-content: space-between;
      margin-bottom: 18px;
      .title {
        font-size: 18px;
        font-weight: bold;
        margin-right: 18px;
      }
      .types-wrap {
        min-width: 68px;
        background: #f8f9fa;
        border: 1px solid #e6e6e6;
        font-size: 14px;
        padding: 2px 10px;
        color: #5f5f5f;
      }
      .icon-wrap {
        color: #2E3438;
        span {
          margin-left: 11px;
        }
      }
    }
    .describe {
      display: flex;
      span:nth-child(1) {
        min-width: 40%;
        max-width: 40%;
      }
      span {
        display: block;
        color: #2E3438;
        font-size: 14px;
        margin-bottom: 14px;
        margin-right: 20px;
      }
    }
    .price {
      text-align: right;
      font-size: 18px;
      color: #f83f41;
      font-weight: bolder;
    }
  }
  .hot-tags-wrap {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .active {
      border: 0px;
      color: #fff;
      background: linear-gradient(0deg, #2087FB, #73D3FF);
    }
    span {
      cursor: pointer;
      display: block;
      text-align: center;
      line-height: 30px;
      color: #5f5f5f;
      // padding: 2px 0;
      width: 47%;
      min-width: 100px;
      min-height: 30px;
      font-size: 14px;
      background: #ffffff;
      border: 1px solid #e6e6e6;
      margin-bottom: 10px;
    }
  }
}

// 需求详情
.detail-demand-wrap {
  @extend .center-setting;
  flex: 1;
  margin-bottom: 50px;
  .card-wrap {
    min-height: 287px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    .top-wrap {
      display: flex;
      justify-content: space-between;
      .title {
        font-weight: bold;
        color: #2e3438;
      }
      .types-wrap {
        min-width: 68px;
        height: 22px;
        background: #f8f9fa;
        border: 1px solid #e6e6e6;
        color: #5f5f5f;
        padding: 5px 10px;
        margin-left: 20px;
      }
      .icon-wrap {
        color: #999999;
        span {
          margin-left: 10px;
        }
      }
    }
    .describe {
      display: flex;
      span:nth-child(1) {
        min-width: 40%;
        margin-right: 15px;
      }
      span {
        display: block;
        margin-bottom: 10px;
        color: #2E3438;
      }
      .price {
        display: inline;
        font-weight: bold;
        color: #f83f41;
      }
    }
  }
  .side-body-wrap {
    display: flex;
    flex-direction: column;
    justify-items: center;
    div:nth-child(1) {
      margin-bottom: 20px;
      margin-top: 30px;
      margin-left: 0px;
    }
    div {
      margin-left: 25px;
      margin-bottom: 10px;
      color: #2E3438;
    }
    .user-head {
      text-align: center;
      img {
        width: 64px;
        height: 64px;
      }
    }
  }
}

// 公告详情
.mark-detail-announce-wrap {
  @extend .center-setting;
  flex: 1;
  // margin-top: 50px;
  width: 860px;
  padding: 0 200px;
  div {
    color: #2E3438;
  }
  .redItem {
    font-size: 18px;
    color: #f83f41;
    font-weight: bold;
    margin-top: 30px;
  }
  .title {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #2e3438;
    margin-bottom: 41px;
  }
  .detail-wrap {
    margin-top: 30px;
    .title {
      font-weight: bold;
      font-size: 14px;
    }
    .dealTitle {
      margin-top: 5px;
    }
    .pictures {
      display: flex;
      flex-wrap: wrap;
    }
    .media-wrap {
      margin-top: 10px;
      margin-right: 10px;
      width: 386px;
      border-radius: 5px;
      border: 1px solid #e6e6e6;
      background: #f8f9fb;
      cursor: pointer;
      div {
        margin-bottom: 0px;
      }
    }
  }
}

// 侧边栏的容器
.mark-side-wrap {
  height: 100%;
  width: 100%;
  padding: 16px;
  background: #f8f9fa;
  .title-wrap {
    display: flex;
    align-items: center;
    color: #2279d2;
    font-size: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d2deee;
  }
  .text {
    padding-left: 10px;
  }
}
